package com.rc.evcharger.common.type;

import java.lang.reflect.Field;

/**
 * Create by Yang on 2019/1/30
 */
public class UnlockControl extends BaseType implements DataType {

    public String gunNum;

    public String unlockCode;

    public String obligate = "00 00 00 00";

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public String getUnlockCode() {
        return unlockCode;
    }

    public void setUnlockCode(String unlockCode) {
        this.unlockCode = unlockCode;
    }

    public String getObligate() {
        return obligate;
    }

    public void setObligate(String obligate) {
        this.obligate = obligate;
    }

    @Override
    public boolean customField(Field field, StringBuffer sb) {
        return false;
    }

    @Override
    public String toString() {
        return "UnlockControl{" +
                "gunNum='" + gunNum + '\'' +
                ", unlockCode='" + unlockCode + '\'' +
                ", obligate='" + obligate + '\'' +
                '}';
    }
}
